package com.ruoyi.hqfinance.service.impl;

import com.ruoyi.hqfinance.domain.HqSettleObject;
import com.ruoyi.hqfinance.mapper.HqSettleObjectMapper;
import com.ruoyi.hqfinance.service.HqSettleObjectService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class HqSettleObjectServiceImpl implements HqSettleObjectService {
    @Autowired
    private HqSettleObjectMapper hqSettleObjectMapper;
    @Override
    public List<HqSettleObject> selectAll() {
        return hqSettleObjectMapper.selectAll();
    }

    @Override
    public Boolean insert(HqSettleObject hqSettleObject) {
        return hqSettleObjectMapper.insert(hqSettleObject);
    }

    @Override
    public Boolean update(HqSettleObject hqSettleObject) {
        return hqSettleObjectMapper.update(hqSettleObject);
    }

    @Override
    public Boolean deleteById(Integer id) {
        return hqSettleObjectMapper.deleteById(id);
    }
}
